package com.studio701.carguard.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xjc
 * @since 2022-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("human_body")
@ApiModel(value="HumanBody对象", description="")
public class HumanBody implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "人体id")
    @TableId(value = "h_id", type = IdType.AUTO)
    private Integer hId;

    @ApiModelProperty(value = "人体体温")
    @TableField("h_temperature")
    private BigDecimal hTemperature;

    @ApiModelProperty(value = "人体心率")
    @TableField("h_heartrate")
    private Integer hHeartrate;

    @ApiModelProperty(value = "人体血氧")
    @TableField("h_bloodoxygen")
    private BigDecimal hBloodoxygen;

    @ApiModelProperty(value = "人体最低血压")
    @TableField("h_minbloodpressure")
    private Integer hMinbloodpressure;

    @ApiModelProperty(value = "人体最高血压")
    @TableField("h_maxbloodpressure")
    private Integer hMaxbloodpressure;

    @ApiModelProperty(value = "人体酒精含量")
    @TableField("h_alcohol")
    private BigDecimal hAlcohol;

    @ApiModelProperty(value = "获取时间")
    @TableField("h_time")
    private LocalDateTime hTime;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;


}
